package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户薪资计算对象 sys_user_salary
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
@Data
public class SysUserSalary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 底薪 */
    @Excel(name = "底薪")
    private Long dixin;

    /** 基数（百分比） */
    @Excel(name = "基数", readConverterExp = "百=分比")
    private Long jishu;

    /** 奖金 */
    @Excel(name = "奖金")
    private Long jiangjin;

    /** 罚款 */
    @Excel(name = "罚款")
    private Long fakuan;

    /** 比例（百分比）（护士） */
    @Excel(name = "比例", readConverterExp = "百=分比")
    private float bili;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDixin(Long dixin) 
    {
        this.dixin = dixin;
    }

    public Long getDixin() 
    {
        return dixin;
    }
    public void setJishu(Long jishu) 
    {
        this.jishu = jishu;
    }

    public Long getJishu() 
    {
        return jishu;
    }
    public void setJiangjin(Long jiangjin) 
    {
        this.jiangjin = jiangjin;
    }

    public Long getJiangjin() 
    {
        return jiangjin;
    }
    public void setFakuan(Long fakuan) 
    {
        this.fakuan = fakuan;
    }

    public Long getFakuan() 
    {
        return fakuan;
    }
    public void setBili(float bili)
    {
        this.bili = bili;
    }

    public float getBili()
    {
        return bili;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("dixin", getDixin())
            .append("jishu", getJishu())
            .append("jiangjin", getJiangjin())
            .append("fakuan", getFakuan())
            .append("bili", getBili())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
